rust-GSL
A Rust binding for the GSL library (the GNU Scientific Library).
Installation
This binding requires the GSL library library (version >= 2) to be installed:
Linux
# on debian based systems:
OSX
Windows
Instructions are available there: https://www.gnu.org/software/gsl/extras/native_win_builds.html.
Usage
This crate works with Cargo and is on crates.io. Just add the following to your Cargo.toml
file:
[]
= "2.0"
You can see examples in the examples
folder.
Building
To build rgsl
, just run cargo build
. However, if you want to use a specific version, you'll
need to use the cargo
features. For example:
If a project depends on this version, don't forget to add in your Cargo.toml
:
[]
= "2"
= ["v2_1"]
Documentation
You can access the rgsl documentation locally, just build it:
> cargo doc --open
Then open this file with an internet browser: file:///{rgsl_location}/target/doc/rgsl/index.html
You can also access the latest build of the documentation via the internet here.
License
rust-GSL is a wrapper for GSL, therefore inherits the GPL license.